﻿using System.Runtime.Serialization;

[DataContract]
public class PasswordSettings
{
    [DataMember]
    public bool EnabledPasswordReset { get; set; }

    [DataMember]
    public bool EnablePasswordRetrieval { get; set; }

    [DataMember]
    public int MaxInvalidPasswordAttempts { get; set; }

    [DataMember]
    public int MinRequiredNonAlphanumericCharacters { get; set; }

    [DataMember]
    public int MinRequiredPasswordLength { get; set; }

    [DataMember]
    public int PasswordAttemptWindow { get; set; }

    [DataMember]
    public string PasswordStrengthRegularExpression { get; set; }

    [DataMember]
    public bool RequiresUniqueEmail { get; set; }

    [DataMember]
    public bool RequiresQuestionAndAnswer { get; set; }
}